'''!/usr/bin/env python
 -*- coding: utf-8 -*-
 @Time    : 2025/1/13 22:27
 @Author  : 小呆呆不爱睡觉
 @File    : 一月14日刷题.py
 @Software: PyCharm
 '''


class Person:
    name = None
    age = None
    msg = None

    def say(self):
        print("我叫%s,今年%d岁" % (self.name, self.age))

    def say1(self):
        print(self.msg)

zhangsan = Person()
zhangsan.name = "张三"
zhangsan.age = 18
zhangsan.msg = "hello world"
zhangsan.say()
